<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>内容模型管理</title>
	<link rel="stylesheet" type="text/css" href="../css/style1.css" />
	<link rel="stylesheet" type="text/css" href="../css/base.css" />
	<link rel="stylesheet" type="text/css" href="../css/indexbody.css" />
	<script type="text/javascript" src="../js/frame.js"></script>
	<script type="text/javascript">
		window.onload = function() {
			document.getElementById("hide").style.display = "block";
			document.getElementById("sc").style.display = "none";
			document.getElementById("vip").style.display = 'none';
			document.getElementById("mb").style.display = 'none';
			document.getElementById("sys").style.display = 'none';
		}
	</script>
</head>
<body background='../images/allbg.gif' leftmargin='8' topmargin='8'>
	<div id="container">
		<jsp:include page="../header.jsp"></jsp:include>
		<div style="float:left; width:195px;">
			<jsp:include page="../leftnav.jsp"></jsp:include>
		</div>
		<div
			style="float:left; overflow-y:scroll; overflow-x:hidden; width: 785px; height: 550px;">

			<table width="98%" border="0" align="center" cellpadding="3"
				cellspacing="1" bgcolor="#D6D6D6">
				<tr>
					<td height="28" colspan="7" background="../images/tbg.gif">
						<table width='96%' cellpadding='0' cellspacing='0'>
							<tr>
								<td width='20%' style="padding-left:10px;"><b>频道管理</b>
								</td>
								<td align='right'><a href="mychannel_add.jsp"
									class='np coolbg'>增加新频道</a></td>
							</tr>
						</table></td>
				</tr>

				<tr align="center" bgcolor="#FBFCE2" height="28">
					<td width="6%">id号</td>
					<td width="16%">频道名称</td>
					<td width="8%">模型</td>
					<td>管理</td>
				</tr>
				<s:iterator value="channels">
					<tr align="center" bgcolor="#FFFFFF" height="24"
						onMouseMove="javascript:this.bgColor='#FCFDEE';"
						onMouseOut="javascript:this.bgColor='#FFFFFF';">
						<td>${id}</td>
						<td><a href=''><u>${channelName}</u>
						</a></td>
						<td>${channeltemplate}</td>
						<td><a href=''><img
								src='../images/gtk-tmp.png' title='模板' alt='模板' />
						</a> <a href='channels!getchannel.action?id=${id}'><img
								src='../images/gtk-edit.png' alt='更改' title='更改' />
						</a> <a href='channels!deletechannel.action?id=${id}'><img
								src='../images/gtk-del.png' alt='删除' title='删除' />
						</a></td>
					</tr>
				</s:iterator>
				<tr align="center" bgcolor="#F9FCEF" height="28">
					<td colspan="7"><span>共 1 页/6条记录</span></td>
				</tr>
			</table>
			</td>
			</tr>
			</table>
		</div>
	</div>
</body>
</html>